﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EmployeeDetails.ascx.cs"
    Inherits="TempEmployees.Web.EmployeeDetails" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayTextBox.ascx" TagName="DisplayTextBox"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayDropList.ascx" TagName="DisplayDropList"
    TagPrefix="uc2" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayTextBoxEmail.ascx" TagName="DisplayTextBoxEmail"
    TagPrefix="uc3" %>
<table style="margin-left:auto; direction:rtl; width:100%">
    <tr>
        <td colspan="4">
            <asp:Panel ID="PanelEmployeeErrors" runat="server" Visible="false">
                <div class="errorsStyle">
                    <asp:Label ID="LabelError" runat="server" Style="color: #FF0000"></asp:Label>
                </div>
                <br />
            </asp:Panel>
        </td>
    </tr>
    <tr>
        <td class="EmployeeDetails-style1">
            <asp:Label ID="Label1" runat="server" Text="*ת&quot;ז:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style2">
            <uc1:DisplayTextBox ID="DataDisplayID" runat="server" TabIndex="3" Required="true" DisplayName="ת&quot;ז" ValidationType="IdentityNumber"/>
        </td>
        <td class="EmployeeDetails-style3">
            <asp:Label ID="Label6" runat="server" Text="טלפון:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style4">
            <uc1:DisplayTextBox ID="DataDisplayPhone" runat="server" TabIndex="18" AutoPostBack="false" DisplayName="טלפון" ValidationType="PhoneNumber" />
        </td>
    </tr>
    <tr>
        <td class="EmployeeDetails-style1">
            <asp:Label ID="LabelFirstName" runat="server" Text="*שם פרטי:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style2">
            <uc1:DisplayTextBox ID="DataDisplayFirstName" runat="server" TabIndex="6" AutoPostBack="false" Required="true" DisplayName="שם פרטי" />
        </td>
        <td class="EmployeeDetails-style3">
            <asp:Label ID="Label7" runat="server" Text="פלאפון:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style4">
            <uc1:DisplayTextBox ID="DataDisplayCellular" runat="server" TabIndex="21" AutoPostBack="false" DisplayName="פלאפון" ValidationType="PhoneNumber" />
        </td>
    </tr>
    <tr>
        <td class="EmployeeDetails-style1">
            <asp:Label ID="Label3" runat="server" Text="*שם משפחה:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style2">
            <uc1:DisplayTextBox ID="DataDisplayLastName" runat="server" TabIndex="9" AutoPostBack="false" Required="true" DisplayName="שם משפחה" />
        </td>
        <td class="EmployeeDetails-style3">
            <asp:Label ID="Label8" runat="server" Text="דואר אלקטרוני:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style4">
            <uc3:DisplayTextBoxEmail ID="DataDisplayEmail" runat="server" TabIndex="24" AutoPostBack="false" DisplayName="דואר אלקטרוני" ValidationType="Email" />
        </td>
    </tr>
    <tr>
        <td class="EmployeeDetails-style1">
            <asp:Label ID="Label4" runat="server" Text="תאריך לידה:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style2">
            <uc1:DisplayTextBox ID="DataDisplayBirthDate" runat="server" TabIndex="12" EnableCalender="true"
                AutoPostBack="false" DisplayName="תאריך לידה" ValidationType="BirthDate" />
        </td>
        <td class="EmployeeDetails-style3">
            <asp:Label ID="Label9" runat="server" Text="פקולטה:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style4">
            <uc2:DisplayDropList ID="DataDisplayListFaculty" runat="server" TabIndex="27" AutoPostBack="false" DisplayName="פקולטה" />
        </td>
    </tr>
    <tr>
        <td class="EmployeeDetails-style1">
            <asp:Label ID="Label5" runat="server" Text="כתובת מגורים:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style2">
            <uc1:DisplayTextBox ID="DataDisplayAddress" runat="server" TabIndex="15" AutoPostBack="false" DisplayName="כתובת מגורים" />
        </td>
        <td class="EmployeeDetails-style3">
            <asp:Label ID="Label10" runat="server" Text="התחלת לימודים:"></asp:Label>
        </td>
        <td class="EmployeeDetails-style4">
            <uc2:DisplayDropList ID="DataDisplayListStartSem" runat="server" TabIndex="30" AutoPostBack="false" DisplayName="התחלת לימודים" />
            <br />
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td colspan="5">
            <asp:Label ID="RequiredLabel" runat="Server" Text="* שדות חובה" />
        </td>
    </tr>
    <tr>
        <td colspan="5">
            <asp:Button ID="UpdateEmployeeButton" runat="server" Text="ערוך פרטים" Visible="false"
                OnClick="ButtonUpdateEmployee_Click" />
        </td>
    </tr>
</table>
